package com.weimob.mcloud.wechatwork.customer.domain;

/**
 * Create Time: 2021年01月18日 10:16
 *
 * @author maosheng.li
 **/
public class ArtemisConstant {

    public static final String USER = "saas.wechatwork-customer-service";

    public static final String CONSUMER_USER = "wechatwork-customer-consumer";

    public static final String PRODUCT_USER = "wechatwork-customer-product";

    public static final String PERMISSION_CHANGE_USER = "saas.wechatwork-customer-service";

    public static final String CONSUMER_USER_FOR_GROUP = "wechatwork-customer-consumer-for-group";

    public static final String PAAS_CONSUMER_USER = "saas.wechatwork-customer-consumer";

    public static class Topic {

        /**
         * 企微中台外部联系人信息变更
         */
        public static final String WECHATWORK_USER_CUSTOMER_MSG = "wechatwork_user_customer_msg";

        /**
         * 企微中台外部联系人流失
         */
        public static final String WECHATWORK_USER_CUSTOMER_LOSE_MSG = "wechatwork_user_customer_lose_msg";

        /**
         * 外部联系人消息 中台处理过的消息
         */
        public static final String CORPWX_SYNC_EXTERNALCONTACT_DONE = "corpwx_sync_externalcontact_done";

        /**
         * 客户群变更 二次分发
         */
        public static final String WECHATWORK_GROUP_UPDATE_MSG = "wechatwork_group_update_msg";

        /**
         * 客户群成员变更 二次分发
         */
        public static final String WECHATWORK_GROUP_MEMBER_UPDATE_MSG = "wechatwork_group_member_update_msg";

        // ~~~新中台
        /**
         * 企微助手 外部联系人消息
         */
        public static final String WECHATWORK_SELF_MSG = "wechatwork_self_msg";

        /**
         * 企微助手历史外部联系人消息
         */
        public static final String WECHATWORK_BOS_SYNC_EXTERNALCONTACT = "wechatwork_sync_externalcontact";

        /**
         * 企微助手渠道绑定解绑消息
         */
        public static final String WECHATWORK_CHANNEL_BIND_MSG = "wechatwork_channel_bind_msg";

        /**
         * 企微助手 通知客户搜索服务 客户数据初始化
         */
        public static final String CORE_EXTERNALUSER_INIT_EVENT = "corp_externaluser_init_event";

        /**
         * 企微助手 通知客户搜索服务 客户数据变更
         */
        public static final String CORE_EXTERNALUSER_CHANG_EVENT = "corp_externaluser_chang_event";

        /**
         * 企微助手 通知客户搜索服务 客户数据历史同步
         */
        public static final String HIS_CORE_EXTERNALUSER_CHANG_EVENT = "his_corp_externaluser_chang_event";

        /**
         * 企微助手 二阶段客户优化处理
         */
        public static final String CORP_EXTERNALUSER_SECOND_EVENT= "corp_externaluser_second_event";

        /**
         * 企微助手 历史客户消息二阶段处理
         */
        public static final String HISTORY_CORP_EXTERNALUSER_SECOND_EVENT= "history_corp_externaluser_second_event";

        /**
         * ipaas 标签信息变更
         */
        public static final String WECHATWORK_SAAS_CDP_TAG_MAIN = "wechatwork_saas_cdp_tag_main";

        /**
         * EC 门店 vid被删除后通知路由topic
         */
        public static final String WECHATWORK_CUSTOMER_DELETE_STORE_MSG = "wechatwork_customer_delete_store_msg";

        /**
         * 企微官方标签数据变更
         */
        public static final String WECHATWORK_TAG_CHANGE_TOPIC = "wechatwork_tag_change_topic";

        /**
         * 企微官方"员工--客户--标签"关系数据变更消息
         */
        public static final String WECHATWORK_CUSTOMER_TAG_CHANGE_TOPIC = "wechatwork_customer_tag_change_topic";

        /**
         * 企微应用非根目录员工授权范围变更消息
         */
        public static final String WECHATWORK_EMPLOYEE_DEP_AUTHORIZE_MSG = "wechatwork_employee_dep_authorize_msg";

        /**
         * 会话存档授权，指定与该员工拥有好友关系的客户，由密文转明文
         */
        public static final String EMPLOYEE_ARCHIVE_PERMISSION_CHANGE = "employee_archive_permission_changed";

        /**
         * 企微应用非根目录员工授权范围变更消息
         */
        public static final String WECHATWORK_EMPLOYEE_SEAT_AUTH_MSG = "wechatwork_employee_seat_auth_msg";

        /**
         * 批量打标任务
         */
        public static final String WECHATWORK_BATCH_MARK_TAG_TASK_INIT_TOPIC = "wechatwork_mark_tag_task_init_topic";

        public static final String WECHATWORK_BATCH_MARK_TASG__TASK_START = "wechatwork_mark_tag_task_start";

        /**
         * 员工数据隔离权限topic
         */
        public static final String WECHATWORK_PERMISSION_CHANGE_TOPIC = "wechatwork_permission_change";

        /**
         * 企微中台外部联系人信息变更
         */
        public static final String WECHATWORK_USER_STATISTIC_MSG = "wechatwork_user_statistic_msg";

        public static final String WECHATWORK_BOS_WID_CHANGE = "wechatwork_bos_bwid_change";

    }

}
